<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> 
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> 
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>

<f:loadBundle basename="messages" var="ged_messages"/>

<t:panelGrid id="menu" width="100%" 
	styleClass="tabelaComBordaCentroMenu"
	columnClasses="colunaCentroMenu" 
	rendered="#{autenticacao.mostraMenuCadastros}">
	<t:column>
		<t:outputText value="#{ged_messages['navigation_left.lbl.titulo']}"/>
	</t:column>
	<t:column>
		<t:panelGrid id="cadastros" width="100%" 
			styleClass="tabelaComBordaEsquerdaMenu"
			columnClasses="colunaEsquerdaMenu">

			<t:dataTable var="moduloVisivel" value="#{autenticacao.modulosVisiveis}">
				<t:column>
					<t:commandLink value="#{moduloVisivel.modulo.nomeDoLink}" action="#{cadastroDeDocumentos.cadastraDocumento}" >
						<f:param value="#{moduloVisivel.modulo.nome}" name="tipoDocumento"/>
					</t:commandLink>
				</t:column>				
			</t:dataTable>
			
		</t:panelGrid>
	</t:column>
</t:panelGrid>